package com.alon.spring01.service;

import com.alon.spring01.model.Country;
import com.github.pagehelper.PageInfo;

public interface CountryService {

    PageInfo<Country> findwithPage(int page,int pageSize);

    /**
     * 乐观锁的封装
     */
    default void updateSuccess(Country country){

    }
}

